#!/bin/sh
#
# /etc/rc.d/kdm: start/stop kde display manager
#

case "$1" in
start)
    /usr/bin/kdm
    ;;
stop)
    kill `cat /var/run/kdm.pid`
    ;;
restart)
    $0 stop
    sleep 1
    $0 start
    ;;
*)
    echo "Usage: $0 (start|stop|restart)"
    ;;
esac

# End of file
